package com.neuedu.demoweb.service;

import com.neuedu.demoweb.bean.Admin;
import com.neuedu.demoweb.common.WebException;

/**
 * 
 * @author chens
 *
 */
public interface AdminService extends BaseService<Admin> {

	/**
	 * 根据用户的账号和密码执行登录操作
	 * 
	 * 
	 * @param admin 
	 * @return
	 * @throws ElmException
	 */
	public Admin login(Admin admin) throws WebException;
}
